<extend name="public/form"/>
<block name="css"></block>
<block name="content">
    <div class="layui-card-header ">
        <span class="layui-breadcrumb">
          <a href="/admin" target="_blank">首页</a>
          <a href="javascript:;">采集管理</a>
          <a href="javascript:;" onclick="parent.xadmin.add_tab('采集结果','{:url('index')}')">采集结果</a>
          <a><cite>添加采集详情</cite></a>
        </span>
        <a class="layui-btn layui-btn-sm" style="line-height:1.6em;margin-top:3px;float:right"
           href="javascript:location.replace(location.href);" title="刷新">
            <i class="layui-icon layui-icon-refresh-3" style="line-height:30px"></i></a>
    </div>
    <div class="layui-card-body"><!--选项卡父容器必须包含layui-tab class-->
        <form id="form1" class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">url</label>
                <div class="layui-input-block">
                    <input type="text" value="{$data->url}" name="url"  lay-reqtext="请输入采集任务名"
                           placeholder="请输入采集任务名"
                           autocomplete="off" class="layui-input ">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">短描述</label>
                <div class="layui-input-block">
                    <input type="text" value="{$data->short_result}" name="short_result"  lay-reqtext="请输入采集任务名"
                           placeholder="请输入采集任务名"
                           autocomplete="off" class="layui-input ">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">采集结果</label>
                <div class="layui-input-block">
                    {$data->result}
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</block>
<block name="js">
    <script>
        layui.use(['jquery', 'form', 'layer', 'element'], function () {
            layui.element.render();
        });

    </script>
</block>